package com.ssy.lingxi.order.api.model.vo.request;

import com.ssy.lingxi.common.constant.order.OrderPayChannelEnum;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 查询支付渠道接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-20
 */
public class OrderPayParameterFeignVO implements Serializable {
    private static final long serialVersionUID = -3145036637734409826L;

    /**
     * 会员Id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 会员角色Id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long roleId;

    /**
     * 支付渠道枚举
     */
    @NotNull(message = "支付渠道不能为空")
    private OrderPayChannelEnum payChannel;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public OrderPayChannelEnum getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(OrderPayChannelEnum payChannel) {
        this.payChannel = payChannel;
    }
}
